<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>青耕艺行</title>
    <link rel="stylesheet" href="css/normalize.css">
    <!-- 先引入swiper css文件 放到自己css文件上面 -->
    <link rel="stylesheet" href="css/swiper.min.css">
    <link rel="stylesheet" href="css/index.css">
    <script src="js/index.js"></script>
    <script src="js/echarts.min.js"></script>
</head>
<body>
    <section class="warp">
        <!-- 头部页面 -->
        <header class="header">
            <img src="images/logo.png" alt="">
        </header>
        <!-- go模块 -->
        <section class="go">
            <div class="focus">
                <ul>
                    <li><img src="images/nav3.jpg" alt=""></li><!--3-->
                    <li><img src="images/nav2.jpg" alt=""></li><!--1-->
                    <li><img src="images/nav4.jpg" alt=""></li><!--2-->
                    <li><img src="images/nav3.jpg" alt=""></li><!--3-->
                    <li><img src="images/nav2.jpg" alt=""></li><!--1-->
                </ul>
                <!-- 小圆点 -->
                <ol>
                    <li class="current"></li>
                    <li></li>
                    <li></li>
                </ol>
            </div>
        </section>
        <!-- 导航栏部分 -->
        <nav class="nav"> 
            <a href="nav1.html" class="item">
                <img src="icons/nav1.png" alt=""> 
                <span style="color: hotpink;">课程大纲</span>
            </a>
            <a href="nav2.html" class="item">
                <img src="icons/nav2.png" alt="">
                <span style="color: skyblue;">教师团队</span>
            </a>
            <a href="nav4.html" class="item">
                <img src="icons/nav4.png" alt="">
                <span style="color: pink;">日程安排</span>
            </a> 
            <a href="nav3.html" class="item">
                <img src="icons/nav3.png" alt="">
                <span style="color: lawngreen">课程报名</span>
            </a>
        </nav>
    </section>
    <!-- 简介模块 -->
    <section class="content">
        <!-- 头部  -->
        <div class="con-hd">
            <h4>
                <span class="icon"><img src="icons/nav2.png" alt=""></span>
                简介</h4>
            <a href="index2.html" class="more">了解更多>></a>
        </div>
        <div class="con-bd">
            <a href="#">青耕艺行青少儿科普基地设有农耕文化展厅、研学训练场、种植体验区、加工实践区、素质拓展区、餐饮休闲区等区域及相关基础设施，为项目开展提供良好的载体支持，以此为依托。</a>
        </div>
        <!-- 旋转木马轮播图模块 -->
        <div class="get_job_focus">
            <!-- Swiper -->
            <div class="swiper-container get_job_fo">
                <div class="swiper-wrapper">
                <div class="swiper-slide">
                    <a href="@"><img src="images/con-bd1.jpg" alt=""></a>
                    <p>农耕文化展厅</p>
                </div>
                <div class="swiper-slide">
                    <a href="@"><img src="images/con-bd2.jpg" alt=""></a>
                    <p>叮咚野趣园</p>
                </div>
                <div class="swiper-slide">
                    <a href="@"><img src="images/con-bd3.jpg" alt=""></a>
                    <p>种子旅行箱</p>
                </div>
                <div class="swiper-slide">
                    <a href="@"><img src="images/con-bd4.jpg" alt=""></a>
                    <p>神厨小当家</p>
                </div>
        
        </div>
        
        <!-- Add Pagination -->
        <div class="swiper-pagination"></div>
    </div>
    <div class="swiper-button-next"></div>
        <div class="swiper-button-prev"></div>
        </div>
    </section>
    <!-- 充电学习模块 -->
    <section class="content study_con">
        <!-- 头部  -->
        <div class="con-hd">
            <h4>
                <span class="icon"><img src="icons/nav3.png" alt=""></span>
                关于农业科普教育</h4>
            <a href="index2.html" class="more">了解更多>></a>
        </div>
        <div class="box"></div>
        <script>
            var myChart = echarts.init(document.querySelector(".box"));
            var option = {
                title: {
                    // text:'参加农业科普教育目的情况统计图',
                    // subtext:'纯属虚构',
                    // left:'right'
                },
                tooltip:{
                    trigger:'item',
                    formatter:'{a} <br/>{b} : {c} ({d}%)'
                },
                legend: {
                    orient:'vertical',
                    left:'left',
                    data:['了解农业知识','回归自然放松身心','锻炼自身实践能力','掌握相应的种养实践','投身农业领域']
                },
                series:[{
                    name:'农业科普',
                    type:'pie',
                    radius:'55%',
                    center:['45%','70%'],
                    data:[
                        {value: 25,name: '了解农业知识'},
                        {value: 35,name: '回归自然放松身心'},
                        {value: 18,name: '锻炼自身实践能力'},
                        {value: 15,name: '掌握相应的种养实践'},
                        {value: 7,name: '投身农业领域'},
                    ],
                    emphasis: {
                        itemStyle:{
                            shadowBlur:10,
                            shadowOffsetX:0,
                            shadowColor:'rgba(0,0,0,0.5)'
                        }
                    }
                }]
            };
            myChart.setOption(option);
        </script>
    </section>
    <section class="content study_con">
        <!-- 头部  -->
        <div class="con-hd">
            <h4>
                <span class="icon"><img src="icons/nav3.png" alt=""></span>
                更多平台</h4>
        </div>
        <!-- 学习模块轮播图模块 -->
        <div class="study">
            <!-- Swiper -->
        <div class="swiper mySwiper">
            <div class="swiper-wrapper">
              <div class="swiper-slide">
                  <img src="upload/vx.jpg" alt="">
                  <h5>微信公众号</h5>
              </div>
              <div class="swiper-slide">
                <img src="upload/weibo.jpg" alt="">
                <h5>官方微博</h5>
            </div>
            <div class="swiper-slide">
                <img src="upload/douyin.jpg" alt="">
                <h5>官方抖音</h5>
            </div>
            <!-- <div class="swiper-slide">
                <img src="upload/http.jpg" alt="">
                <h5>官方网站</h5>
            </div> -->
            </div>
            <!-- <div class="swiper-pagination"></div> -->
          </div>
        </div>
<!-- <footer class="footer">
    <a href="#" class="item">
        <img src="icons/1.png" alt="">
        <p>首页</p>
    </a>
    <a href="#" class="item">
        <img src="icons/2.png" alt="">
        <p>模拟面试</p>
    </a>

    <a href="#" class="item">
        <img src="icons/3.png" alt="">
        <p>技术面试</p>
    </a>

    <a href="#" class="item">
        <img src="icons/4.png" alt="">
        <p>我的主页</p>
    </a>


</footer> -->


    <script src="js/flexible.js"></script>
    <!-- 必须引入js文件 -->
    <script src="js/swiper.min.js"></script>
    <script>
        // 第一个函数里面是 就业指导轮播图
        (function (){
            var swiper = new Swiper('.swiper-container', {
                // 能够看到的个数
          slidesPerView: 2,
        //   每个之间的距离
          spaceBetween: 30,
        //   要不要把最大的放到中间显示
          centeredSlides: true,
          loop: true,
        //   pagination: {
        //     el: '.swiper-pagination',
        //     clickable: true,
        //   },
        // 添加左右箭头
        navigation: {
          nextEl: ".swiper-button-next",
          prevEl: ".swiper-button-prev",
        },
        });
        })();
        // 第二个函数的轮播图
        (function(){
            // 如果有多个轮播图最好修改一下
            var swiper = new Swiper(".mySwiper", {
                // 我们可见的是两个半
        slidesPerView: 2.2,
        spaceBetween: 30,
        
        
      });
        })();
      </script>
</body>
</html>